<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$keywords}_{$keywords}的做法_{$keywords}的食谱大全_烘焙食谱搜索_烘焙圈11</title>
	<meta name="keywords" content="{$keywords},{$keywords}的做法,{$keywords}的食谱大全,烘焙食谱搜索"/>
	<meta name="description" content="{$keywords}的所有烘焙食谱搜索结果，烘焙圈提供优质的{$keywords}食谱大全，手把手教您学会烘焙。"/>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/dongtai.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">
    <include file="Public:header" />

    <!--<a href="{$midad.linkurl}" class="b-banner_big" style="background-image: url(__FILESURL__{$midad.image});"></a>-->
    <div class="b-dongtai">
        <div class="b-body l-center">
            <div class="b-dongtaiItemList">

                <empty name="list"><div class="nodata">暂未查询到您要的作品!</div></empty>

                <foreach name="list" item="vo">
					<div class="b-dongtaiItem {$key%3==0?'b-dongtaiItem_first':''}">
						 	<div class="b-dongtaiItem__top">
								<div class="b-dongtaiItem__pic">
									<img  src="__FILESURL__{$vo.image}">
									<div class="b-itemMask">
										<if condition="$userinfo.userid neq ''">
										<if condition="$vo.dignum eq 0">
										<a class="b-itemMask__zan R_ajax_dig" data-info="infoid,{$vo.workid}~digtype,1" data-url="do/adddig/"><i class="b-popOtherZuopin__itemMask undig"></i></a>
											<else/>
											<a class="b-itemMask__zan R_ajax_dig" data-info="infoid,{$vo.workid}" data-url="do/canceldig/"><i class="b-popOtherZuopin__itemMask digged"></i></a>
										</if>
										<else/>
											<a class="b-itemMask__zan R_ajax_dig" data-info="infoid,{$vo.workid}~digtype,1" data-url="do/adddig/"><i class="b-popOtherZuopin__itemMask undig"></i></a>
										</if>
									</div>
								</div>
								
								 <div class="b-dongtaiItem__title">
								 	<a href="__WEBURL__/works/{$vo.workid}" title="{$vo.title}">{$vo.title|str_cut=15}</a> 
									<div class="b-dongtaiItem__time">{$vo.create_time|format_time}</div>
								</div>
								 <div class="b-dongtaiItem__content">{$vo.content|str_cut=75}</div>
								 <div class="b-dongtaiItem__info">
									 <div class="b-dongtaiItem__user"><a href="__WEBURL__/u/{$vo.openuid}"><img src="{$vo.uavatar|getUavatar}" class="pic_mid"><span>{$vo.nickname}</span></a></div>
									 <div class="b-dongtaiItem__pinglun"><i class="b-messageIcon pic_mid"></i><span>{$vo.msgnum}</span></div>
									 <div class="b-dongtaiItem__zan"><i class="b-dingIcon pic_mid"></i><span>{$vo.goodnum}</span></div>
								 </div>
							</div>
						</div>

                </foreach>

            </div>
            <div class="clear"></div>
            <div class="pager">{$Page}</div>


        </div>

    </div>

    <include file="Public:footer" />
</div>

<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>
<script>
    $(document).ready(function(){
        $('.b-dongtaiItem').each(function(i,val){
           // if(i%3==0) $(this).addClass('b-dongtaiItem_first');
        });
        $('.b-dongtaiItem__pic').hover(function(){
            $(this).find('.b-itemMask').stop(true,true).fadeIn();
        },function(){
            $(this).find('.b-itemMask').stop(true,true).fadeOut();
        });


    });
</script>

</body>
</html>